//
//  DestCollectionViewCell.m
//  INAlienLand
//
//  Created by dllo on 15/6/29.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "DestCollectionViewCell.h"

@implementation DestCollectionViewCell
-(instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.destImage = [[UIImageView alloc]initWithFrame:CGRectMake(0, 0, self.contentView.frame.size.width, self.contentView.frame.size.height)];
        self.destImage.layer.cornerRadius = 10;
        self.destImage.layer.masksToBounds = YES;
//        self.contentView.layer.masksToBounds = YES;//
        self.contentView.backgroundColor = [UIColor whiteColor];
        [self.contentView addSubview:self.destImage];
    }
    return self;
}
@end
